/*
 * Copyright (c)  2020,  DataPipeline
 * All rights reserved.
 *
 * Id:ErrorCode.java   2020-07-15 00:30 wanglijun
 */
package cn.datacare.orm.exception;

/**
 * <p>
 * Title: 异常消息接口
 * </p>
 * <p>
 * Description: 异常消息接口
 * </p>
 * <p>
 * Copyright: Copyright (c) 2020
 * </p>
 * <p>
 * Company/Department: DataPipeline
 * </p>
 *
 * @author wanglijun
 * @version 1.0
 * @since 2020-07-15 00:30
 */
public interface ErrorCode {
    /***
     * 错误代码
     * @return String String
     */
    String getCode();

    /***
     * 异常消息
     * @return String String
     */
    String getMessage();

    /***
     * 参数处理消息
     * @param params
     * @return
     */
    String getMessage(Object... params);
}
